<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>javascript数组__数组遍历</title>
		<script>
			var arr1 = new Array(44,66,98,45,67,89,33);
			var arr2 = [44,66,98,45,67,89,33];
			if("2" === 2){
				console.log("'2' === 2 is true")
			}else{
				console.log("'2' === 2 is false")
			}
			for(var i=0; i<arr1.length; i++){
				console.log(arr1[i]);
			}
			console.log("-----------");
			for(var i=0; i<arr2.length; i++){
				console.log(arr2[i]);
			}
		</script>
	</head>
	<body>
		<h1>javascript数组__数组遍历</h1>
	</body>
</html>
